import request from '@/utils/request';

const baseURL = 'http://localhost:39203/carbon/emission_origin'

// 查询测试列表
export function queryAllProcess() {
  return request({
    url: '/queryAll',
    method: 'get',
    baseURL: baseURL
  })
}

/**
 * 删除工序
 * @returns {AxiosPromise}
 */
export function deleteEmissionOrigin(processId, emissionOriginId) {
  return request({
    url: `/delete/${processId}/${emissionOriginId}`,
    method: 'delete',
    baseURL: baseURL
  })
}
